// Made by brainbracker

void npc(Player @player, NPC @npc) {
	int state = npc.getState();
	if (player.getMap().getID() == 280030000) {
		if (state == 0) {
			npc.addText("Do you want to get out of here?");
			npc.sendYesNo();
		}
		else if (state == 1) {
			if (npc.getSelected() == YES) {
				player.changeMap(211042400);
			}
			else {
				npc.addText("Oh, really? Well... If you do, talk to me.");
				npc.sendOK();
			}
			npc.end();
		}
	}
}